#pragma once 
#include<iostream>
#include<string>

#define NORMAL 1
#define WARRING 2
#define FATAL 3
#define DEBUG 4

#define LOG(LEVEL, MESSAGE) log(#LEVEL, MESSAGE, __FILE__, __LINE__)

void log(std::string level, std::string message, std::string file, int line)
{
    std::cout<< "[" << level << "]" << "[" << message << "]" << "[" << file << " : " << line << "]" <<std::endl;
}